﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<HomeService.Models.ServiceRequestPhoto>" %>

<div>
	<p><img src="<%: Url.Action("GetPhotoImage", "ServiceRequest", new { Model.Id }) %>" alt="Huoltokuva" /></p>

	<% if (!string.IsNullOrEmpty(Model.Description)) { %>
		<p class="description"><%: Model.Description %></p>
	<% } %>
</div>